package nacos

import "github.com/nacos-group/nacos-sdk-go/v2/common/constant"

func config() (constant.ClientConfig, []constant.ServerConfig) {
	return *constant.NewClientConfig(
			constant.WithNamespaceId("e525eafa-f7d7-4029-83d9-008937f9d468"), //When namespace is public, fill in the blank string here.
			constant.WithTimeoutMs(5000),
			constant.WithNotLoadCacheAtStart(true),
			constant.WithLogDir("/tmp/nacos/log"),
			constant.WithCacheDir("/tmp/nacos/cache"),
			constant.WithLogLevel("debug"),
		), []constant.ServerConfig{
			*constant.NewServerConfig(
				"console1.nacos.io",
				80,
				constant.WithScheme("http"),
				constant.WithContextPath("/nacos"),
			),
		}
}
